package cn.flying.system.mapper.cm;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import cn.flying.system.domain.cm.CmRoleResource;
import cn.flying.system.domain.cm.CmRoleResourceExample;

public interface CmRoleResourceMapper {
    long countByExample(CmRoleResourceExample example);

    int deleteByExample(CmRoleResourceExample example);

    int deleteByPrimaryKey(Long id);

    int insert(CmRoleResource row);

    int insertSelective(CmRoleResource row);

    List<CmRoleResource> selectByExampleWithRowbounds(CmRoleResourceExample example, RowBounds rowBounds);

    List<CmRoleResource> selectByExample(CmRoleResourceExample example);

    CmRoleResource selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("row") CmRoleResource row, @Param("example") CmRoleResourceExample example);

    int updateByExample(@Param("row") CmRoleResource row, @Param("example") CmRoleResourceExample example);

    int updateByPrimaryKeySelective(CmRoleResource row);

    int updateByPrimaryKey(CmRoleResource row);
}